package org.opengoofy.index12306.framework.starter.bases.safa;

import org.springframework.beans.factory.InitializingBean;

/**
 * @author ling007
 * @date 2024/5/23 12:34
 * @desciption: FactJson安全模式。开启后关闭类型隐式传递
 */
public class FastJsonSafeMode implements InitializingBean {
    @Override
    public void afterPropertiesSet() throws Exception {
        System.setProperty("fastjson2.parser.safeMode", "true");
    }
}
